From 134ce61c5adbcf084a353d037c03bdb8046ce07e Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 20 Nov 2007 15:22:06 +0000 Subject: [PATCH] Check markbotedits permission on regular rollback as well --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index e982410c8a..0e2a9928cd 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2282,7 +2282,7 @@ class Article { } $set = array(); - if ( $bot ) { + if ( $bot && $wgUser->isAllowed('markbotedits') ) { # Mark all reverted edits as bot $set['rc_bot'] = 1; } -- 2.20.1